package com.hunt.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
@ToString
@Document(collection="HqStockDataNew")
public class HqStockDataNew implements Comparable<HqStockData>{
    //代码
    private String code;

    private List<HqStockDataforData> data;

    @Override
    public int compareTo(HqStockData o) {
        return 0;
    }
}
